from copy import deepcopy, copy

a = {'name': '10000', 'like': 'python', 'pro': ['c++', 'php', 'go', [1, 2, 3]]}
# b = deepcopy(a)
b = copy(a)
# print(id(a), id(b))
# print(id(a["pro"]), id(b["pro"]))

a["name"] = 111

# print(id(a["name"]), id(b["name"]))
print(id(a["pro"]), id(b["pro"]))

# a["pro"][0] = "java"
# print(a, b)
# print(id(a["pro"][1]), id(b["pro"][1]))

# print(id(a["pro"][3]), id(b["pro"][3]))

